package com.lzx.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzx.article.entity.Comments;
import com.lzx.article.vo.NicknameVO;
import com.lzx.article.vo.OssVO;
import com.lzx.common.utils.R;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author lzx
 * @since 2023-01-20
 */
public interface CommentsService extends IService<Comments> {

    //用户发表评论
    R publishComments(Comments comments);

    //修改用户头像(文章一级评论)
    String updateAvatarToComments(OssVO ossVO);

    //修改用户昵称(文章一级评论)
    String updateNicknameToComments(NicknameVO nicknameVO);
}
